package com.yoyoyo666.report.mapper;

import com.yoyoyo666.report.common.ReportPage;
import com.yoyoyo666.report.model.ReportContent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportContentMapper {
    int deleteByPrimaryKey(String id);

    int deleteByPrimaryKeys(@Param("ids") List<String> ids);

    int insert(ReportContent record);

    int insertSelective(ReportContent record);

    ReportContent selectByPrimaryKey(String id);

    List<ReportContent> selectAll(@Param("userId") String userId, @Param("page") ReportPage page);

    long selectAllCount(@Param("userId") String userId);

    int updateByPrimaryKeySelective(ReportContent record);

    int updateByPrimaryKey(ReportContent record);

}